{template "header.html"}
<!--首页导航-->
{if $get.kuai != 1 }

{template "index-fanhui-10.html"}
{/if}
{template "fanhui.html"}
<style>
	/*采集*/
	#dr_row_caijizu {
		display: none;
	}
	.d-queding {
		position: fixed;
		bottom: 0;
		z-index: 1000;
		/* display: -webkit-box; */
		/* display: -webkit-flex; */
		/* display: flex; */
		width: 100%;
		color: #ffffff;
		background-color: #8d8d8d;
		margin: 0 auto;
		text-align: center;
		line-height: 40px;
		left: 0;
	}
	.preview {
	    height: 70px;
	    border: 1px solid #f5f5f5;
	}
	.portlet.light.bordered {
	    border: 1px solid #f3f4f7!important;
	}
	.portlet.light {
	    padding: 12px 20px 15px;
	    background-color: #f3f4f7;
	}
	#dr_tid {
		width: 100% !important;
	}
	.form .form-actions, .portlet-form .form-actions {
	    padding: 15px;
	    margin: 0;
	    background-color: #f5f5f5;
	    border-top: 1px solid #e7ecf1;
		
	}
	
	.dr_row_quanbu {
		/*display: none;*/
	}
	.d_name_tid {
		display: none;
	}
	.d_name_neirong {
		display: none;
	}
	.d_name_title {
		display: none;
	}
	.form-control {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #ffffff;
	    background-image: none;
	    border: 1px solid #ffffff;
	    border-radius: 5px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	.form-control:hover {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #dadbdd;
	    background-image: none;
	    border: 1px solid #dadbdd;
	    border-radius: 4px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	.form-control-title {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 30px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #ffffff;
	    background-image: none;
	    border: 1px solid #ffffff;
	    border-radius: 5px;
	    /*-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);*/
	    /*box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);*/
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	.form-control-title:hover {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 30px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #dadbdd;
	    background-image: none;
	    border: 1px solid #dadbdd;
	    border-radius: 4px;
	    /*-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);*/
	    /*box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);*/
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	select {
	    font-weight: normal;
	    display: block;
	    white-space: nowrap;
	    min-height: 1.2em;
	    padding: 0px 2px 1px;
		border: 1px solid #f3f4f7;
		border-radius: 4px;
	}
	/*付费组*/
	.d_name_ffzt {
		display: block;
	}
	.d_name_fufeixianzhi {
		display: block;
	}
	.d_name_neirongjifen {
		display: block;
	}
	.d_name_jine {
		display: block;
	}
	.d_name_youxiaoshijian {
		display: block;
	}
	/**/
	.form-horizontal .form-group {
	    margin-left: 0px;
	    margin-right: 0px;
	}
	.btn-default {
	    color: #333;
	    background-color: #f5f5f5;
	    border-color: #f5f5f5;
	}
	.panel-default>.panel-heading {
	    color: #333;
	    background-color: #ffffff;
	    border-color: #f5f5f5;
	}
	.note-editor .note-toolbar {
	    border-bottom: 1px solid #ffffff;
	    -webkit-border-radius: 4px 4px 0 0;
	    -moz-border-radius: 4px 4px 0 0;
	    -ms-border-radius: 4px 4px 0 0;
	    -o-border-radius: 4px 4px 0 0;
	    border-radius: 4px 4px 0 0;
	}
	.note-editor.note-frame .note-editing-area .note-editable, .note-editor.note-airframe .note-editing-area .note-editable {
	    padding: 10px;
	    overflow: auto;
	    word-wrap: break-word;
	    background-color: #f8f8f8;
		border-radius: 10px;
		font-size: 16px;
	}
	.note-editor.note-frame, .note-editor.note-airframe {
	    border: 1px solid #ffffff;
	    border-radius: 4px;
	}
	.note-editor.note-frame .note-status-output:empty, .note-editor.note-airframe .note-status-output:empty {
	    height: 0;
	    border-top: 0 solid transparent;
		display: none;
	}
	.note-editor.note-frame .note-statusbar .note-resizebar, .note-editor.note-airframe .note-statusbar .note-resizebar {
	    padding-top: 1px;
	    height: 9px;
	    width: 100%;
	    cursor: ns-resize;
		display: none;
	}
	.note-editor.note-frame .note-statusbar, .note-editor.note-airframe .note-statusbar {
	    background-color: #ffffff;
	    border-bottom-left-radius: 4px;
	    border-bottom-right-radius: 4px;
	    border-top: 1px solid #ffffff;
		display: none;
		
	}
	#dr_row_shenhe {
		display: none;
	}
	#dr_row_xiazaizu {
		display: none;
	}
	#dr_row_fufeizu{
		display: none;
	}
	#dr_row_toupiaozu{
		display: none;
	}
	#dr_row_shipinzu{
		display: none;
	}
	#dr_row_yuyinzu{
		display: none;
	}
	#dr_row_mpsanzu{
		display: none;
	}
	#dr_row_tupianzu{
		display: none;
	}
	#dr_row_shezhizu{
		display: none;
	}
	#dr_row_huodongzu{
		display: none;
	}
	#dr_row_pkzu{
		display: none;
	}
	#dr_row_chuzuzu{
		display: none;
	}
	#dr_row_qiuzuzu{
		display: none;
	}
	#dr_row_zhaopinzu{
		display: none;
	}
	#dr_row_qiuzhizu{
		display: none;
	}
	/*商品组*/
	#dr_row_shangpinzu {
		display: none;
	}
	#dr_row_wendazu {
		display: none;
	}
	#dr_row_bisaizu {
		display: none;
	}
	#dr_row_tuyinpinzu{
		display: none;
	}
	.mt-checkbox-inline {
		/*display: none;*/
	}
	.note-style {
		display: none;
	}
	.note-font {
		display: none;
	}
	.note-fontname {
		display: none;
	}
	.note-color {
		display: none;
	}
	.note-para {
		display: none;
	}
	.note-table {
		display: none;
	}
	.note-attach {
		display: none;
	}
	.note-video {
		/**display: none;*/
	}
	.note-view {
		display: none;
	}
	#dr_row_syzs {
		display: none;
	}
	#dr_row_cyjz {
		display: none;
	}
	.d-dibu-fabu {
	    position: fixed;
	    bottom: 0;
	    z-index: 1000;
	    /* display: -webkit-box; */
	    /* display: -webkit-flex; */
	    /* display: flex; */
	    width: 100%;
	    /*background-color: #f3f4f7;
	    box-shadow: 0 0 0 rgb(0 0 0 / 0%);*/
	}
	.caption a {
		color: #f40101;
	}
	/*付费*/
	.d_yi_kuan {
		margin: 0 0px!important;
		font-size: 13px;
		position: fixed;
		height: 100%;
		left: 0;
		right: 0;
		z-index: 1001;
		bottom: 0px;
		background-color: #d3d3d4 !important;
		padding: 15px !important;
	}
	/**/
	.d_er_kuan {
		margin: 0 auto;
		border-radius: 10px;
		padding-top: 20px;
		padding-left: 10px;
		height: 100%;
		width: 1000px;
		/*max-height: 600px;*/ /*设置最大的高度*/
		overflow:auto; /*超出这个最大高度的数据，会被隐藏起来，上下滑动*/
		overflow-x:hidden; /*隐藏x轴滚动条*/
		background-color: #f6f6f7 !important;
	}

	@media screen and (max-width: 990px){
		.d_er_kuan {
			margin: 0 auto;
			border-radius: 10px;
			padding-top: 20px;
			padding-left: 10px;
			height: 100%;
			width: 100%;
			/*max-height: 600px;*/ /*设置最大的高度*/
			overflow:auto; /*超出这个最大高度的数据，会被隐藏起来，上下滑动*/
			overflow-x:hidden; /*隐藏x轴滚动条*/
			background-color: #f6f6f7 !important;
		}
		.mt-checkbox-inline {
			display: none;
		}
	}
	/*.edui-editor-toolbarboxouter {
		border-bottom: 1px solid #ffffff;
		background: #ffffff;
		padding: 6px 8px 2px;
		white-space: normal;
		border-radius: 8px;
		position: fixed; 
		top: 60px;
		width: 1029px; 
		z-index: 1000;
	}*/
	.d-daohang-tid {
	    position: fixed;
	    bottom: 130px;
	    z-index: 1000;
	    /* display: -webkit-box; */
	    /* display: -webkit-flex; */
	    /* display: flex; */
	    width: auto;
	}
	.bootstrap-tagsinput {
	    background-color: #f7f7f7;
		border: 1px solid #fff;
		box-shadow: inset 0 1px 1px rgb(255 255 255 / 8%);
		display: inline-block;
		padding: 4px 6px;
		margin-bottom: 10px;
		color: #555;
		vertical-align: middle;
		border-radius: 4px;
		max-width: 100%;
		line-height: 30px;
		cursor: text;
	}
</style>
{php $isbiao = \Phpcmf\Service::M()->db->tableExists(\Phpcmf\Service::M()->dbprefix('1_'.MOD_DIR.'_shezhi'));}
{if $isbiao}
{php $kaiguan = \Phpcmf\Service::M()->table('1_'.MOD_DIR.'_shezhi')->where('dirname', MOD_DIR)->getRow();}
{/if}
{php $quanzhukaiguan = \Phpcmf\Service::M()->table('1_'.MOD_DIR)->where('uid', $member.id)->where('id', $index.id)->getRow();}
{php $kaiguans = dr_string2array($kaiguan['setting']);}
{php $quanzhukaiguans = dr_string2array($quanzhukaiguan);}
{php $fabushezhis = dr_string2array($index.fabushezhi);}

{php $yonghuzufabuquanxian = \Phpcmf\Service::M()->table('1_'.MOD_DIR.'_form_group')->where('uid', $member.id)->where('quanid', $index.id)->getRow();}
{php $yonghuzufabuquanxian = dr_string2array($yonghuzufabuquanxian);}

{php $yonghuzufabuquanxians = \Phpcmf\Service::M()->table('1_'.MOD_DIR.'_form_yonghuzu')->where('id', $yonghuzufabuquanxian['gid'])->where('cid', $index.id)->getRow();}
{php $yonghuzufabuquanxians = dr_string2array($yonghuzufabuquanxians);}

{php $duliquanzishezhidata = \Phpcmf\Service::M()->table('1_'.MOD_DIR)->where('id', $index.id)->getRow();}
{php $duliquanzishezhi = dr_string2array($duliquanzishezhidata['fabushezhi']);}
<div class="d-kuan d-yincang d-shang-12"></div>

<div class="d-gao-30 d-yincang-pc d-beijing-baise"></div>

<form action="" class="" method="post" name="myform" id="myform">
	{$form}
	<div class="d-container " id="z11111">
		<div class="d-row">
			<div id="z22222">
			<div class="d-col-md-10-juzhong" id="question-submit">
				<div class="d-kuan d-beijing-baise">
				
				{$myfield}
				<div class="d-clear"></div>
				{if $is_post_code}
					<div class="form-group" id="dr_row_code">
						<label class="control-label col-md-2"><span class="required" aria-required="true"> * </span> {dr_lang('验证码')}</label>
						<div class="col-md-2">
							<label>
								<div class="form-recaptcha">
									<div class="input-group">
										<input type="text" id="dr_code" class="form-control" name="code">
										<div class="input-group-btn fc-code">
											{dr_code(120, 35)}
										</div>
									</div>
								</div>
							</label>
						</div>
					</div>
					<div class="d-clear"></div>
				{/if}

					
				</div>
			</div>
			
		</div>
		
		<div class="d-clear"></div>
		<div class="d-kuan d-gao-80"></div>
		
	</div>
	</div>
	<div class="d-clear"></div>
	<!--div class=" form myfooter d-dibu-fabu">
	    <div class="d-neikuang-15 text-center">
	        <label><button type="button" style="width: 200px;" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '0','/index.php?s={MOD_DIR}&c=show&id={$index.id}')" class="btn green">  {dr_lang('发 布')}</button></label>
	        <label><button type="button" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '2000', '{$reply_url}')" class="btn yellow"> <i class="fa fa-mail-reply-all"></i> {dr_lang('保存并返回')}</button></label>
	    </div>
	</div-->
{if $isbiao}
{if $kaiguans['pages']['quantie_fatie'] != '1'}
	<div class="d-kuan d-beijing-baise d-dibu-fabu">
		<div class="d-container d-huading-0 d-beijing-baise">
			<div class="d-row ">

				<div class="d-col-md-10-juzhong " id="question-submit">
					<div id="header">

						<div class="swiper-wrapper guanlizu d-buhuanhang d-quxian-0 d-a-hei d-shang-10">
							<!--九格图-->
							{template "son_post-jiugetu.html"}
							<!--MP3-->
							{template "son_post-mpsan.html"}
							<!--语音-->
							{template "son_post-yuyin.html"}
							<!--视频-->
							{template "son_post-shipin.html"}
							<!--投票-->
							{template "son_post-toupiao.html"}
							
							<!--付费-->
							{template "son_post-fufei.html"}
							
							<!--问答-->
							{template "son_post-wenda.html"}
							
							<!--商品-->
							{template "son_post-shangpin.html"}
							
							<!--比赛-->
							{template "son_post-bisai.html"}
							
							<!--下载-->
							{template "son_post-xiazai.html"}
							
							<!--PK-->
							{template "son_post-pk.html"}
							
							<!--活动-->
							{template "son_post-huodong.html"}
							
							<!--出租-->
							{template "son_post-chuzu.html"}
							
							<!--求租-->
							{template "son_post-qiuzu.html"}
							
							<!--招聘-->
							{template "son_post-zhaopin.html"}
							
							<!--求职-->
							{template "son_post-qiuzhi.html"}
							
							<!--微信采集-->
							{template "son_post-weicai.html"}
							<!--创业金-->
							{if dr_is_app('chuangyejin')}
							{template "son_post-chuangyejin.html"}
							{/if}
							
							
						</div>
						<script src="{HOME_THEME_PATH}web/css/swiper-bundle.min.js" type="text/javascript"></script>
						<!-- Initialize Swiper -->
						<script type="text/javascript">
							var mySwiper1 = new Swiper('#header',{
								slideToClickedSlide: true,
								//centeredSlides : true,
								slidesPerView: 'auto',
								initialSlide : 0,
								
							})
						</script>
						{if $get.kuai != 1 }
						<div class="d-col-md-10-juzhong">
						
							<div class=" form myfooter">
								<div class="d-neikuang-15 text-center">
									<label><button type="button" style="width: 200px;" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '0')" class="btn green">  {dr_lang('发 布')}</button></label>
									<!--label><button type="button" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '2000', '{$reply_url}')" class="btn yellow"> <i class="fa fa-mail-reply-all"></i> {dr_lang('保存并返回')}</button></label-->
								</div>
							</div>
						</div>
						{/if}
					</div>
				</div>
			</div>
		</div>
		<div class="d-clear"></div>
	</div>
	{/if}
{/if}
</form>
<div class="d-kuan" style="height: 200px;"></div>
<script>
	// 微信采集
	function d_row_caijizu() {
		if ($('.d_row_caijizu').is(':hidden')) {
			$('.d_row_caijizu').show();
			$('#d_caijizu').css('color','#ff5500');
		} else {
			$('.d_row_caijizu').hide();
			$('#d_caijizu').css('color','#000000');
		}
	}
function dr_m_fabu2() {
	$('.d-dibu-fabu').hide();
}
function d_row_fufeizu() {
	if ($('.d_row_fufeizu').is(':hidden')) {
		$('.d_row_fufeizu').show();
		$('#d_fufeizu').css('color','#ff5500');
		//
		/*$('.d_row_xiazaizu').hide();
		$('#d_xiazaizu').css('color','#000000');
		$('.d_row_pkzu').hide();
		$('#d_pkzu').css('color','#000000');
		$('.d_row_huodongzu').hide();
		$('#d_huodongzu').css('color','#000000');
		$('.d_row_chuzuzu').hide();
		$('#d_chuzuzu').css('color','#000000');
		$('.d_row_qiuzuzu').hide();
		$('#d_qiuzuzu').css('color','#000000');*/
		//
	} else {
		$('.d_row_fufeizu').hide();
		$('#d_fufeizu').css('color','#000000');
		
	}
}
function d_row_xiazaizu() {
	if ($('.d_row_xiazaizu').is(':hidden')) {
		$('.d_row_xiazaizu').show();
		$('#d_xiazaizu').css('color','#ff5500');
	} else {
		$('.d_row_xiazaizu').hide();
		$('#d_xiazaizu').css('color','#000000');
	}
}
//pk
function d_row_pkzu() {
	if ($('.d_row_pkzu').is(':hidden')) {
		$('.d_row_pkzu').show();
		$('#d_pkzu').css('color','#ff5500');
	} else {
		$('.d_row_pkzu').hide();
		$('#d_pkzu').css('color','#000000');
	}
}
//活动
function d_row_huodongzu() {
	if ($('.d_row_huodongzu').is(':hidden')) {
		$('.d_row_huodongzu').show();
		$('#d_huodongzu').css('color','#ff5500');
	} else {
		$('.d_row_huodongzu').hide();
		$('#d_huodongzu').css('color','#000000');
	}
}
//出租
function d_row_chuzuzu() {
	if ($('.d_row_chuzuzu').is(':hidden')) {
		$('.d_row_chuzuzu').show();
		$('#d_chuzuzu').css('color','#ff5500');
	} else {
		$('.d_row_chuzuzu').hide();
		$('#d_chuzuzu').css('color','#000000');
	}
}
//求租
function d_row_qiuzuzu() {
	if ($('.d_row_qiuzuzu').is(':hidden')) {
		$('.d_row_qiuzuzu').show();
		$('#d_qiuzuzu').css('color','#ff5500');
	} else {
		$('.d_row_qiuzuzu').hide();
		$('#d_qiuzuzu').css('color','#000000');
	}
}
//招聘
function d_row_zhaopinzu() {
	if ($('.d_row_zhaopinzu').is(':hidden')) {
		$('.d_row_zhaopinzu').show();
		$('#d_zhaopinzu').css('color','#ff5500');
	} else {
		$('.d_row_zhaopinzu').hide();
		$('#d_zhaopinzu').css('color','#000000');
	}
}
//求职
function d_row_qiuzhizu() {
	if ($('.d_row_qiuzhizu').is(':hidden')) {
		$('.d_row_qiuzhizu').show();
		$('#d_qiuzhizu').css('color','#ff5500');
	} else {
		$('.d_row_qiuzhizu').hide();
		$('#d_qiuzhizu').css('color','#000000');
	}
}
//商品
function d_row_shangpinzu() {
	if ($('.d_row_shangpinzu').is(':hidden')) {
		$('.d_row_shangpinzu').show();
		$('#d_shangpinzu').css('color','#ff5500');
	} else {
		$('.d_row_shangpinzu').hide();
		$('#d_shangpinzu').css('color','#000000');
	}
}
//问答
function d_row_wendazu() {
	if ($('.d_row_wendazu').is(':hidden')) {
		$('.d_row_wendazu').show();
		$('#d_wendazu').css('color','#ff5500');
	} else {
		$('.d_row_wendazu').hide();
		$('#d_wendazu').css('color','#000000');
	}
}
//比赛
function d_row_bisaizu() {
	if ($('.d_row_bisaizu').is(':hidden')) {
		$('.d_row_bisaizu').show();
		$('#d_bisaizu').css('color','#ff5500');
	} else {
		$('.d_row_bisaizu').hide();
		$('#d_bisaizu').css('color','#000000');
	}
}
//图音视频
function d_row_tuyinpinzu() {
	if ($('.d_row_tuyinpinzu').is(':hidden')) {
		$('.d_row_tuyinpinzu').show();
		$('#d_tuyinpinzu').css('color','#ff5500');
	} else {
		$('.d_row_tuyinpinzu').hide();
		$('#d_tuyinpinzu').css('color','#000000');
	}
}
//toupiao投票
function d_row_toupiaozu() {
	if ($('.d_row_toupiaozu').is(':hidden')) {
		$('.d_row_toupiaozu').show();
		$('#d_toupiaozu').css('color','#ff5500');
	} else {
		$('.d_row_toupiaozu').hide();
		$('#d_toupiaozu').css('color','#000000');
	}
}
//图
function d_row_tupianzu() {
	if ($('.d_row_tupianzu').is(':hidden')) {
		$('.d_row_tupianzu').show();
		$('#d_tupianzu').css('color','#ff5500');
	} else {
		$('.d_row_tupianzu').hide();
		$('#d_tupianzu').css('color','#000000');
	}
}
//mp3
function d_row_mpsanzu() {
	if ($('.d_row_mpsanzu').is(':hidden')) {
		$('.d_row_mpsanzu').show();
		$('#d_mpsanzu').css('color','#ff5500');
	} else {
		$('.d_row_mpsanzu').hide();
		$('#d_mpsanzu').css('color','#000000');
	}
}
//语音
function d_row_yuyinzu() {
	if ($('.d_row_yuyinzu').is(':hidden')) {
		$('.d_row_yuyinzu').show();
		$('#d_yuyinzu').css('color','#ff5500');
	} else {
		$('.d_row_yuyinzu').hide();
		$('#d_yuyinzu').css('color','#000000');
	}
}
//视频
function d_row_shipinzu() {
	if ($('.d_row_shipinzu').is(':hidden')) {
		$('.d_row_shipinzu').show();
		$('#d_shipinzu').css('color','#ff5500');
	} else {
		$('.d_row_shipinzu').hide();
		$('#d_shipinzu').css('color','#000000');
	}
}
function dr_post_weixin(zhi,laiyuan) {
	// 获取输入框的值
	var inputValue = $('#dr_wxwzlj').val();
	
    // 选择 iframe
    var iframe = $('#ueditor_0')[0];
	
    // 获取 iframe 的 contentWindow 对象
    var contentWindow = iframe.contentWindow;
    // 通过 contentWindow 对象访问 iframe 中的 document
    var iframeDocument = contentWindow.document;
	// 选择 iframe
	var iframecaiji = $('#ueditor_2')[0];
	// 获取 iframe 的 contentWindow 对象
	var contentWindowcaiji = iframecaiji.contentWindow;
	// 通过 contentWindow 对象访问 iframe 中的 document
	var iframeDocumentcaiji = contentWindowcaiji.document;
    $.ajax({
    	    type: "GET",
    	    url: "/index.php?s=caiji&c=home&m=index&url="+inputValue+"&leixing="+zhi,
    	    dataType: "json",
    	    success: function (res) {
    	        /*layer.msg(res.msg, {
    	            time: 500
    	        }, function() {
    	            location.reload();
    	        });*/
				//dr_tips(res.code, res.msg);
				$('#d_weixin').html(inputValue);
				$('#dr_title').val(res.data.title);
				$('#dr_neirong').val(inputValue);
				
    			$('#d-qiandao-zhi').html(res.data.zhi);
    			$('#d-qiandao-zhi2').html(res.data.zhi);
    			$('#d-qiandao-jingyan').html(res.data.jingyan);
    			$('#d-qiandao-tian').html(res.data.tian);
    			$('.d-qiandao-tanchu').show();
				$(iframeDocument).find('body').html(res.data.content+"来源"+laiyuan+"："+res.data.mingcheng+"<br>网址："+res.data.url);
				$(iframeDocumentcaiji).find('body').html(res.data.content+"来源"+laiyuan+"："+res.data.mingcheng+"<br>网址："+res.data.url);
				layer.msg(res.msg,{time:500});
    	    },
    	    error: function(e) {}
    	});
	// 选择 iframe
	//var iframe = $('#ueditor_0')[0];
	// 获取 iframe 的 contentWindow 对象
	//var contentWindow = iframe.contentWindow;
	// 通过 contentWindow 对象访问 iframe 中的 document
	//var iframeDocument = contentWindow.document;
	//console.log("输入框内的数值：" + iframeDocument);
	// 在 iframe 中的 HTML 文档中查找元素并改变其值

	
}
</script>

{template "mfooter.html"}